cmake_minimum_required(VERSION 2.8.3)
project(door_detect)

set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "-std=c++14")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g")

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  geometry_msgs
  pcl_conversions
  cv_bridge
)
find_package(PCL REQUIRED)
find_package(Eigen3 REQUIRED)

catkin_package()

# include_directories(
# # include
#   ${catkin_INCLUDE_DIRS}
#   ${EIGEN3_INCLUDE_DIR}
#   ${PCL_INCLUDE_DIRS}
# )

include_directories(
  include
  SYSTEM
  ${catkin_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/include
  ${EIGEN3_INCLUDE_DIR}
  ${PCL_INCLUDE_DIRS}
)

# add_executable (door_detect src/in_door.cpp )
# target_link_libraries(door_detect
#   ${catkin_LIBRARIES}
#   ${PCL_LIBRARIES})


